/*
 * @Author: wuqingchun
 * @Date: 2024-10-10 14:43:02
 * @Description: 
 * @LastEditors: wuqingchun
 * @LastEditTime: 2024-10-10 14:50:22
 */
#ifndef __NETPERF_UDP_SERVER_H__
#define __NETPERF_UDP_SERVER_H__

#include "netperf.h"
#include "netperf_socket.h"

class CNetperfUDPServer
{
public:
    CNetperfUDPServer(const NETPERF_PARAM_S& refParam);
    ~CNetperfUDPServer();

    int32_t Init();

    void Run();
private:
    int m_iSockFd = -1;
    const NETPERF_PARAM_S& m_refParam;
};

#endif //__NETPERF_UDP_SERVER_H__